package com.sokal.easycare.modules.order.dao.item;

import org.apache.ibatis.annotations.Param;

import com.sokal.easycare.common.persistence.CrudDao;
import com.sokal.easycare.common.persistence.annotation.MyBatisDao;
import com.sokal.easycare.modules.order.entity.item.UserOrderItem;

/**
 * order itemDAO接口
 * 
 * @author nibo
 * @version 2017-03-16
 */
@MyBatisDao
public interface UserOrderItemDao extends CrudDao<UserOrderItem> {
	public UserOrderItem getByItemCode(UserOrderItem item);

	public UserOrderItem getByCommodityItemCode(String commodityItemCode);

	public void deleteCommodity(UserOrderItem item);

	public String selectWork(@Param("orderItemCode") String orderItemCode);
}